﻿capital = 595
oob = "GENERIC_OOB"
2000.1.1 = {
	set_variable = { currency_strength = 0.9 }
	set_cosmetic_tag = HKG_autonomy_special_administrative_region

	complete_special_project = sp:sp_composite_production
	complete_special_project = sp:sp_naval_vessel_project
	complete_special_project = sp:sp_medium_naval_nuclear_engines
	complete_special_project = sp:sp_nuclear_energy

	set_variable = { gdp_per_capita = 36.316 }

	add_ideas = {
		partially_nationalized_healthcare
		balanced_protections
		extensive_maintenance
		us_dollar
		strong_regulations

		corruption_level_03

		pluralist
		non_state_actor
		Basic_Law_HKG
		One_Country_Two_Systems
		legacy_of_handover_hong_kong
		HKG_idea_railway_development_strategy_2000
		Lacks_Universal_Suffrage
		stable_growth
		defence_00
		edu_04
		health_05
		social_03
		bureau_03
		police_03
		no_military
		no_women_in_military
		international_bankers
		small_medium_business_owners
		landowners
		consumption_economy
		officer_basic_training
		no_currency_backing
	}

	add_timed_idea = { idea = entry_to_china days = 4381 }
	add_timed_idea = { idea = asian_tigers_legacy days = 2000 }
	add_timed_idea = { idea = asian_crisis days = 560 }

	add_dynamic_modifier = { modifier = HKG_housing_policy_modifier }

	set_variable = { var = HKG_housing_construction_speed value = -0.5 }
	set_variable = { var = HKG_housing_building_slots value = -0.5 }
	set_variable = { var = HKG_housing_consumer_goods value = -0.1 }

	set_variable = { var = HKG_housing_population_growth value = -0.5 }
	set_variable = { var = HKG_housing_stability value = -0.1 }

	set_variable = { var = HKG_housing_political_power value = -0.35 }
	set_variable = { var = HKG_housing_migration_rate value = -0.50 }
	set_variable = { var = HKG_housing_population_tax_income value = -0.15 }
	set_variable = { var = HKG_housing_civ_factory_workforce value = 0.25 }
	set_variable = { var = HKG_housing_office_workforce value = 0.25 }
	set_variable = { var = HKG_housing_dockyard_income value = -0.25 }



	set_technology = {
		integrated_transportation_system = 1
		post_conventional_rail = 1
		early_freight_locomotive = 1
		infantry_mass_assault = 1
		infantry_weapons_1 = 1
		cnc_equipment_1 = 1
		Anti_tank_0 = 1
		util_vehicle_1 = 1
		night_vision_1 = 1
		basic_computing = 1
		integrated_circuit = 1
		computing1 = 1
		microprocessors = 1
		computing2 = 1
		radar = 1
		internet1 = 1
		internet2 = 1
		gprs = 1
		fuel_silos = 1
		nanofibers_1 = 1
		nanofibers_2 = 1
		printing_1 = 1
		printing_2 = 1
		genetics_1 = 1
		fuel_refining = 1
		fuel_refining2 = 1
		energy_efficiency = 1
		energy_efficiency2 = 1
		fuel_efficiency = 1
		early_renewables = 1
		renewables = 1
		electrification_1 = 1
		nuclear_technology = 1
		reactor1 = 1
		construction1 = 1
		corvette_hull_1 = 1
		corvette_hull_2 = 1
		frigate_hull_1 = 1
		frigate_hull_2 = 1
		destroyer_hull_1 = 1
		destroyer_hull_2 = 1
		attack_submarine_hull_1 = 1
		attack_submarine_hull_2 = 1
		missile_submarine_hull_1 = 1
		missile_submarine_hull_2 = 1

		aircraft_carrier_engineering = 1
		aircraft_heli_engineering_1 = 1

		tech_submarine_engineering_1 = 1
		tech_submarine_engineering_2 = 1

		tech_naval_systems_engineering = 1
		tech_power_systems_1 = 1
		tech_power_systems_2 = 1
		tech_diesel_power_systems_1 = 1
		tech_nuclear_power_systems_1 = 1
		tech_nuclear_power_systems_2 = 1

		tech_combat_support_systems = 1
		tech_fire_control_1 = 1
		tech_fire_control_2 = 1
		tech_combat_radar_1 = 1
		tech_combat_radar_2 = 1
		tech_combat_sonar_1 = 1
		tech_combat_sonar_2 = 1

		tech_early_naval_weapon_systems = 1
		tech_naval_weapon_systems = 1
		tech_light_guns_1 = 1
		tech_light_guns_2 = 1

		tech_point_defense_chain_gun = 1
		tech_point_defense_system_1 = 1
		tech_point_defense_system_2 = 1

		tech_turret_missiles_surface_1 = 1
		tech_turret_missiles_surface_2 = 1

		tech_turret_missiles_aa_1 = 1
		tech_turret_missiles_aa_2 = 1
		tech_turret_missiles_aa_3 = 1

		tech_vls_surface_1 = 1
		tech_vls_surface_2 = 1
		tech_vls_surface_3 = 1

		tech_vls_aa_1 = 1
		tech_vls_aa_2 = 1

		tech_torpedoes_1 = 1
		tech_torpedoes_2 = 1
		tech_torpedoes_3 = 1

		tech_landing_craft_1 = 1

		patrol_boat_hull_1_tech = 1
	}

	if = {
		limit = { NOT = { has_dlc = "La Resistance" } }
		set_technology = {
			decryption1 = 1
			decryption2 = 1
			encryption1 = 1
			encryption2 = 1
		}
	}
	if = {
		limit = { has_dlc = "No Step Back" }

		set_technology = {
			nsb_Anti_Air_0 = 1
		}
		else = {
			set_technology = {
				Anti_Air_0 = 1
			}
		}
	}

	create_equipment_variant = {
		name = "Sea Guardian Class"
		type = patrol_boat_hull_1
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = module_chain_gun
			fixed_ship_radar_slot = module_radar_1
			fixed_ship_fire_control_system_slot = module_analog_fire_control
			fixed_ship_engine_slot = module_light_surface_diesel_power_1
		}
	}

	set_naval_oob = "HKG_2000_naval_mtg"

	### HKG ###
	#Influence system
	init_influence = yes
	set_variable = { domestic_influence_amount = 100 }
	add_to_array = { influence_array = CHI.id }
	add_to_array = { influence_array_val = 200 }
	add_to_array = { influence_array = ENG.id }
	add_to_array = { influence_array_val = 20 }
	add_to_array = { influence_array = TAI.id }
	add_to_array = { influence_array_val = 10 }
	add_to_array = { influence_array = USA.id }
	add_to_array = { influence_array_val = 5 }
	sort_influence = yes

	add_dynamic_modifier = { modifier = CHI_HKG_integration_modifier }

	set_variable = { var = debt value = 60 }
	set_variable = { var = treasury value = 382 }
	set_variable = { var = int_investments value = 326 }
	set_variable = { inflation_rate_var = -0.04009 }
	set_variable = { cb_policy_rate = 7 }
	set_variable = { var = corporate_tax_rate value = 22 }
	set_variable = { var = population_tax_rate value = 16 }
	set_variable = { overall_productivity = 789 }

	set_popularities = {
		democratic = 33.3
		communism = 36.9
		fascism = 0.0
		neutrality = 29.7
		nationalist = 0.1
	}
	set_politics = {
		ruling_party = communism
		last_election = "1996.12.11"
		election_frequency = 60
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^1 = 0.238 } #conservatism
	set_variable = { party_pop_array^2 = 0.038 } #liberalism
	set_variable = { party_pop_array^3 = 0.057 } #socialism
	set_variable = { party_pop_array^5 = 0.016 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0.353 } #Conservative
	set_variable = { party_pop_array^15 = 0.297 } #oligarchism
	set_variable = { party_pop_array^20 = 0.001 } #Nat_Populism

	### Ruling Party
	set_variable = { ruling_party = 6 }

	add_to_array = { gov_coalition_array = 5 } #left-wing radical
	add_to_array = { gov_coalition_array = 15 } #oligarchism

	startup_politics = yes

	create_country_leader = {
		name = "Tung Chee-hwa"
		picture = "tung_cheehwa.dds"
		ideology = Conservative
		traits = {
			emerging_Conservative
			pro_china
		}
	}

	set_variable = { term_limit = 2 }
	set_variable = { current_term = 1 }

	recruit_character = HKG_air_chief

	# Relation Starting Configuration (moved from on_startup)
	add_opinion_modifier = { target = CUB modifier = sanctions }
	add_relation_modifier = { target = USA modifier = USA_World_Economical_Relations }
	add_relation_modifier = { target = SOV modifier = SOV_World_Economical_Relations }
	add_relation_modifier = { target = CHI modifier = CHI_World_Economical_Relations }
	add_relation_modifier = { target = FRA modifier = FRA_World_Economical_Relations }
	add_relation_modifier = { target = GER modifier = GER_World_Economical_Relations }
	add_relation_modifier = { target = ENG modifier = ENG_World_Economical_Relations }
	add_relation_modifier = { target = SPR modifier = SPR_World_Economical_Relations }
	add_relation_modifier = { target = ITA modifier = ITA_World_Economical_Relations }
	add_relation_modifier = { target = UKR modifier = UKR_world_economical_relations }
	add_relation_modifier = { target = ISR modifier = ISR_World_Economical_Relations }
	add_opinion_modifier = { target = TTP modifier = AlQaida_Are_Terrorists }
	add_opinion_modifier = { target = TTP modifier = AlQaida_Are_Terrorists_Trade }
	add_opinion_modifier = { target = TAL modifier = Taliban_Are_Terrorists }
	add_opinion_modifier = { target = TAL modifier = Taliban_Are_Terrorists_Trade }
}

2017.1.1 = {   
	remove_ideas = {
		entry_to_china
		asian_crisis
		asian_tigers_legacy
	}
 
	set_variable = { international_bankers_opinion = 80 }
	set_variable = { small_medium_business_owners = 75 }
	set_variable = { landowners_opinion = 60 }

	set_variable = { var = debt value = 60  }
	set_variable = { var = treasury value = 382 }
	set_variable = { var = int_investments value = 1550 }
	set_variable = { var = corporate_tax_rate value = 22 }
	set_variable = { var = population_tax_rate value = 16 }

	set_technology = {
		computing3 = 1 
		computing4 = 1 
		computing5 = 1 
		artificial_intelligence_1 = 1
		artificial_intelligence_2 = 1  
		genetics_2 = 1 
		genetics_3 = 1 
		genetics_4 = 1  
		crispr_1 = 1  
		construction2 = 1 
		wifi = 1
		internet3 = 1	#3G
		edge = 1
		umts = 1
		hsupa = 1
		internet4 = 1	#4G
		lte = 1
	}
	if = {
		limit = { NOT = { has_dlc = "La Resistance" } }
		set_technology = {  
			decryption3 = 1 
			decryption4 = 1 
			decryption5 = 1  
			encryption3 = 1
			encryption4 = 1
			encryption5 = 1
		}
	}  

	set_popularities = {
		democratic = 32.9
		communism = 42.8
		fascism = 0.0
		neutrality = 15.7
		nationalist = 8.6
	}
	set_politics = {
		ruling_party = communism
		last_election = "2012.3.25"
		election_frequency = 60
		elections_allowed = yes
	}

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^0 = 0 } #Western_Autocracy
	set_variable = { party_pop_array^1 = 0.14 } #conservatism
	set_variable = { party_pop_array^2 = 0.126 } #liberalism
	set_variable = { party_pop_array^3 = 0.063 } #socialism
	set_variable = { party_pop_array^4 = 0 } #Communist-State
	set_variable = { party_pop_array^5 = 0.121 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0.214 } #Conservative
	set_variable = { party_pop_array^7 = 0.093 } #Autocracy
	set_variable = { party_pop_array^8 = 0 } #Mod_Vilayat_e_Faqih
	set_variable = { party_pop_array^9 = 0 } #Vilayat_e_Faqih
	set_variable = { party_pop_array^10 = 0 } #Kingdom
	set_variable = { party_pop_array^11 = 0 } #Caliphate
	set_variable = { party_pop_array^12 = 0 } #Neutral_Muslim_Brotherhood
	set_variable = { party_pop_array^13 = 0 } #Neutral_Autocracy
	set_variable = { party_pop_array^14 = 0 } #Neutral_conservatism
	set_variable = { party_pop_array^15 = 0.157 } #oligarchism
	set_variable = { party_pop_array^16 = 0 } #Neutral_Libertarian
	set_variable = { party_pop_array^17 = 0 } #Neutral_green
	set_variable = { party_pop_array^18 = 0 } #neutral_Social
	set_variable = { party_pop_array^19 = 0 } #Neutral_Communism
	set_variable = { party_pop_array^20 = 0.086 } #Nat_Populism
	set_variable = { party_pop_array^21 = 0 } #Nat_Fascism
	set_variable = { party_pop_array^22 = 0 } #Nat_Autocracy
	set_variable = { party_pop_array^23 = 0 } #Monarchist

	### Ruling Party
	add_to_array = { ruling_party = 6 }

	add_to_array = { gov_coalition_array = 5 } #left-wing radical
	add_to_array = { gov_coalition_array = 7 } #autocrats
	add_to_array = { gov_coalition_array = 15 } #oligarchism

	startup_politics = yes

	create_country_leader = {
		name = "Leung Chun-ying"
		picture = "leung_chun_ying.dds"
		ideology = Conservative
		traits = {
			emerging_Conservative
			pro_china
			businessman
		}
	}
}